package lv.lu.events.model;

import java.util.Date;
import java.util.List;

import lv.lu.events.interfaces.PersistentEntity;

public abstract class Event implements PersistentEntity {

	/**
	 * Persistent fields
	 */
	private Long id;
	
	private String facebookId;
	
	private String name;
	
	private String description;
	
	private String location;
	
	private String contactPhone;
	
	private Date startTime;
	
	private Date endTime;
	
	private User owner;
	
	private List<Invite> invites;

	/**
	 * Getters and setters
	 */
	
	public Long getId() {
		return id;
	}

	public String getFacebookId() {
		return facebookId;
	}

	public void setFacebookId(String facebookId) {
		this.facebookId = facebookId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getContactPhone() {
		return contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public User getOwner() {
		return owner;
	}

	public void setOwner(User owner) {
		this.owner = owner;
	}

	public List<Invite> getInvites() {
		return invites;
	}

	public void setInvites(List<Invite> invites) {
		this.invites = invites;
	}	
}